projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be6f65a
)
composetable: Fix gcc warnings
author
Benjamin Otte
<otte@redhat.com>
Wed, 3 Feb 2016 22:06:53 +0000
(23:06 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 3 Feb 2016 22:06:53 +0000
(23:06 +0100)
gtk/gtkcomposetable.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcomposetable.c
b/gtk/gtkcomposetable.c
index 9b4cb15ef11092f7497e18bcde011422ae9fb07d..7a0aba78d67265e571574c7f85a6e4959e402497 100644
(file)
--- a/
gtk/gtkcomposetable.c
+++ b/
gtk/gtkcomposetable.c
@@
-569,8
+569,8
@@
gtk_compose_table_serialize (GtkComposeTable *compose_table,
p += length; \
if (p - contents > total_length) \
{ \
- g_warning ("data size %l
d is bigger than %ld",
\
-
p - contents, total_length);
\
+ g_warning ("data size %l
ld is bigger than %" G_GSIZE_FORMAT,
\
+
(long long) (p - contents), total_length);
\
g_free (contents); \
if (count) \
*count = 0; \